package com.cencat.service;


import com.cencat.domain.Student;
import com.cencat.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface StudentService{
    Student getStudentById(int id);
    List<Student> getAll();
    void addStudent(Student student);
    void updateStudent(Student student);
    void deleteStudent(int id);
    List<Student> getStudentByPage(int page, int size);
}
